package com.jiangyao.model.dto.backend;

import com.jiangyao.model.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 班级学期编辑DTO
 *
 * @author: yangyongchuan
 * @create: 2020年08月25日 23:20
 */
@ApiModel("班级学期编辑DTO")
@Data
public class ClassSemesterEditDTO implements BaseDTO {

	private static final long serialVersionUID = -5638907147502842450L;

	/**
	 * 班级id
	 */
	@ApiModelProperty(value = "班级ID")
	@NotNull(message = "班级ID不能为空", groups = {Edit.class, Delete.class})
	private Integer classId;

	/**
	 * 学期ID
	 */
	@ApiModelProperty(value = "学期ID")
	private Integer semesterId;

	/**
	 * 班级学期课程ID
	 */
	@ApiModelProperty(value = "班级学期课程ID")
	private Integer clsubId;

}
